package com.wx.commons;

/**
 * 上下文
 * @author dingyaming
 *
 */
public interface Context<K extends Enum<K>> {
	
	public <T> T get(K key,Class<T> clazz);
	
	public Object getObject(K key);
	
	public String getString(K key);
	
	public Integer getInteger(K key);
	
	public Boolean getBoolean(K key);
	
	public void put(K key,Object value);
	
	public void clear();
}
